import { createI18n } from "vue-i18n";
import localZhCn from './languagus/zn-ch'
import localEn from './languagus/en'
import znCh from 'element-plus/dist/locale/zh-cn.mjs'
import en from  'element-plus/dist/locale/en.mjs'
const i18n = createI18n({
    legacy:false,
    locale:'zn-cn',
    fallbackLocale:'zn-cn',
    messages:{
        'zh-cn':localZhCn,
        'en':localEn
    }
})
export const elementLocales = {
    'zh-cn':znCh,
    en:en
}
export default i18n